package top.tangyh.lamp.care.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import static com.baomidou.mybatisplus.annotation.SqlCondition.EQUAL;
import static top.tangyh.lamp.model.constant.Condition.LIKE;
import top.tangyh.basic.base.entity.Entity;


/**
 * <p>
 * 实体类
 * 过敏史
 * </p>
 *
 * @author zqb
 * @date 2024-07-15 11:24:55
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@TableName("b_hl7_gm")
public class BHl7Gm extends Entity<Long> {
    private static final long serialVersionUID = 1L;

    /**
     * 病人识别号
     */
    @TableField(value = "patient_ident", condition = LIKE)
    @Schema(description = "病人识别号")
    private String patientIdent;
    /**
     * 住院号
     */
    @TableField(value = "hospital_number", condition = LIKE)
    @Schema(description = "住院号")
    private String hospitalNumber;
    /**
     * 过敏类型DA药品LA花粉FA食物
     */
    @TableField(value = "type_ident", condition = LIKE)
    @Schema(description = "过敏类型DA药品LA花粉FA食物")
    private String typeIdent;
    /**
     * 过敏类型名称
     */
    @TableField(value = "type_name", condition = LIKE)
    @Schema(description = "过敏类型名称")
    private String typeName;
    /**
     * 过敏名称
     */
    @TableField(value = "gm_name", condition = LIKE)
    @Schema(description = "过敏名称")
    private String gmName;
    /**
     * 过敏源代码
     */
    @TableField(value = "gmy_code", condition = LIKE)
    @Schema(description = "过敏源代码")
    private String gmyCode;
    /**
     * 过敏源名称
     */
    @TableField(value = "gmy_name", condition = LIKE)
    @Schema(description = "过敏源名称")
    private String gmyName;
    /**
     * 皮试结果描述
     */
    @TableField(value = "ps_desc", condition = LIKE)
    @Schema(description = "皮试结果描述")
    private String psDesc;
    /**
     * 过敏情况描述
     */
    @TableField(value = "gm_desc", condition = LIKE)
    @Schema(description = "过敏情况描述")
    private String gmDesc;
    /**
     * 是否自定义插入
     */
    @TableField(value = "is_diy", condition = EQUAL)
    @Schema(description = "是否自定义插入")
    private Integer isDiy;
    /**
     * 
     */
    @TableField(value = "is_deleted", condition = EQUAL)
    @Schema(description = "")
    private Integer isDeleted;



}
